<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <h1>表单效果</h1>
    <form>
        <div>
            <label for="username">用户名</label><input type="text" name="usernaem" id="username">
        </div>
        <div>
            <label for="password">密码</label><input type="text" name="password" id="password">
        </div>
        <div>
            <!-- input的type如果是submit，那么点击时自动提交 -->
            <input type="submit" value="提交">
        </div>
    </form>
</body>

</html>